home *** CD-ROM | disk | FTP | other *** search
/ Merciful 1 / Merciful - Disc 1.iso / software / c / c-net_pro / c-netprov3.03b.dms / in.adf / support / ReDMS.doc < prev    next >
Encoding:
Text File  |  1994-01-04  |  4.1 KB  |  122 lines

  1.  
  2.                         ReDMS v1.0 by Shawn McNeece
  3.                              V1.1 - 12-31-92 
  4.                         ~~~~~~~~~~~~~~~~~~~~~~~~~~
  5.  
  6.     V1.1 Fixes the bug with DMS 1.53 Turbo archives.
  7.     This is the only official version/fix. This version 
  8.     was tested on well over 300 DMS files. 
  9.  
  10.     You must be using DMS 1.53 for this program to work.
  11.     DMS 1.53 should be compatible with archives created
  12.     with v1.11.
  13.  
  14.     This Arexx program will examine a DMS archive, and
  15.     recompress it, if it was compressed with one of the
  16.     following modes: NONE, SIMPLE, QUICK and MEDIUM. It
  17.     should not reprocess any others as of this release.
  18.     This will save atleast 10% "dms" disk space. In some 
  19.     cases
  20.     I've gained as much as 50% better compression than
  21.     the original. The 3.5 minutes it takes to recompress
  22.     the file is well worth it to me.. This is the avg
  23.     time it takes to recompress an archive with my Amiga
  24.     3000. BTW, I now only use HSCHK to add text to dms
  25.     files.
  26.  
  27.     To install this you need to edit your Xdms2dms file to
  28.     look something like:
  29.  
  30. ---- Start Cut here ---- 
  31.  
  32. .KEY NEWN,PATHF,FN
  33. .BRA {
  34. .KET }
  35.  
  36. ;the .key means to get options from the command line.
  37. ;they are placed into the variables following it.
  38. ;the .BRA and .KET redfine the normal bracket chars to { and }.
  39. ;see your AmigaDos Manual.
  40.  
  41. failat 40
  42. ;set script to a level that wont abort so easily.
  43.  
  44. changetaskpri -1
  45. ;lower task priority of programs so they dont take over system
  46.  
  47. stripper {PATHF}
  48. ;you must strip all dms texts on file or DMS may crash when
  49. ;repacking
  50.  
  51. ;failat 9
  52. ;reset failure level
  53.  
  54. ReDMS {PATHF} {FN}
  55. ;run the Arexx program ReDMS
  56. ;make sure the script bit of REDMS is on if you are using WB2.0
  57. ;to set the script bit use type in shell "protect ReDMS +S"
  58. ;and you wont need to use the command 'RX' to run Arexx programs.
  59.  
  60. ;hschk -b {PATHF}
  61. ;re add your text if wanted. If not delete above line.
  62.  
  63. ---- End Cut here ---- 
  64.  
  65.     Be warned that this could crash on you once in awhile.
  66.     In 400 dms conversions this program crashed twice.
  67.     I dont know why. The archives were not corrupt. But
  68.     it crashed my machine hard. It was not my program.
  69.     But DMS 1.11 did not like something and puked.
  70.     If it does crash, it should leave the original
  71.     archive intact. And it may leave a ????tmp.dms
  72.     file in the current directory. 
  73.     In further testing I found it crashed trying to 
  74.     re-compress DMS texts.. Simple solution, strip ALL
  75.     dms texts, recompress then add your text again.
  76.     Also you need PIPE: mounted..But most of you should
  77.     have this done by now.
  78.  
  79.     Avg percentage of byte savings per compression mode.
  80.     NONE.....30%
  81.     QUICK....25%
  82.     SIMPLE...20%
  83.     MEDIUM...5-10%
  84.  
  85.     These were just averages as I watched them recompress.
  86.     Your results will differ. But all in all, who does not
  87.     need more diskspace? It will also compare the new archive
  88.     against the old, and in rare circumstances the older
  89.     compression will have been better. It will then delete
  90.     the new archive and keep the old one.
  91.  
  92.     What I did to convert these files was use the TR command
  93.     on all of the DMS files online. Go to your nearest udbase
  94.     containing dms files and type TR x, where x is the file
  95.     number to re-process. If you did not run Control in quiet
  96.     mode, then you should be able to watch the shell/cli that
  97.     Control was run from, and watch the re-processing of files.
  98.     You dont leave your shell open?? Well I suggest you quit
  99.     using WorkBench, and use the Shell. It saves ALOT of memory
  100.     not loading Workbench. Anyways after you re-transform a few
  101.     dms files, and your sure the program is working. Use a batch
  102.     re-transform command such as:
  103.  
  104.     TR '.dms'!
  105.  
  106.     Also incase you did not know, use 'Control v' to run
  107.     CNet in verbose mode.
  108.  
  109.     Also I suggest NOT Transforming files after the
  110.     upload. But doing it during maint. Any sysop dumb
  111.     enough to make a user wait 4 minutes to transform
  112.     a dms file should be hung.
  113.  
  114.     Again, another USEFUL util for CNet!
  115.     BTW it took me a weekend to re-process about 400
  116.     DMS files. So be prepared! But I would say that
  117.     gives this program a good beta-test. And to me the
  118.     7 Megs I gained was worth it.
  119.  
  120. And for people wanting to learn how to use their Amiga, I've
  121. commented the Arexx source code and the Xdms2dms Amiga-DOS script!
  122.